package com.service.dao.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * mq消息记录
 *
 * @author xxxx
 * @email xxxx@qq.com
 * @date 2020-06-09 21:03:01
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_mq_record")
public class SysMqRecord implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(type = IdType.ID_WORKER)
    private Long recordId;
    /**
     * 消息主题
     */
    private String mqTopic;
    /**
     *
     */
    private String sendData;
    /**
     *
     */
    private Date sendTime;
    /**
     *
     */
    private Date confirmTime;
    /**
     * 消息记录状态(0:已发送;1:已收到)
     */
    private Integer recordStatus;

}
